Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various issues with installation of CamCHILDMine #17

Open
wants to merge 64 commits into
base: master
Choose a base branch
from

Conversation

martinburchell
Copy link

In the process of getting the 2022 FAIR TREATMENT (CamCHILDMine) demo working I ended up making these changes. In summary:

  • New GitHub workflow for building the docker images with the default Biotestmine
  • Remove obsolete version from docker compose YAML files
  • Abort build.sh if any part of the script fails unexpectedly
  • Store docker-compose defaults in .env file
  • Reduce some complexity in build.sh when resolving environment variables
  • Use wait-for-it to ensure the various containers are running (bundled in as there is no Alpine package)
  • Do not try to copy malaria-data.tar.gz if it is not present
  • Remove the duplicate call to gradlew cargoDeployRemote. In CamCHILDMine I've implemented the workaround described in Gradle needs to start or deploy a second time to serve webapp intermine#2162 (comment)
  • Use named volumes in the local.docker-compose.yml. I've removed the parsing of the YAML file in mkdatadirs.sh as this seemed like a brittle approach and made this script runnable from anywhere.
  • Sort out various permissions issues.

There was a bit of guesswork involved so I'd appreciate another set of eyes on this.

They are getting truncated
Not the permanent solution. This should be ignored if biotestmine is not being used
Copy link
Member

@leoank leoank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it look good to me.

.env Show resolved Hide resolved
.github/workflows/biotestmine.yml Show resolved Hide resolved
dockerhub.docker-compose.yml Show resolved Hide resolved
intermine_builder/build.sh Show resolved Hide resolved
@leoank
Copy link
Member

leoank commented Jan 6, 2025

@heralden please have a look as well. This PR introduces some ARGS expected by the intermine_builder dockerfile. Is this going to break any of our existing pipelines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants